package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.domain.FileModel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 sys_check
 * 
 * @author paul
 * @date 2023-06-19
 */
public class SysCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private Long carId;

    /** 验车时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "验车时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    /** 验车状况 */
    @Excel(name = "验车状况")
    private String checkMark;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String checkImg;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String checkVideo;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUserid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUserid;

    /** 1全款控车前2发车前3到货时4物流目的地自提54S店自提 */
    @Excel(name = "1全款控车前2发车前3到货时4物流目的地自提54S店自提")
    private Integer status;

    private List<FileModel> fileImgList;

    private List<FileModel> fileVideoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public List<FileModel> getFileImgList() {
        return fileImgList;
    }

    public void setFileImgList(List<FileModel> fileImgList) {
        this.fileImgList = fileImgList;
    }

    public List<FileModel> getFileVideoList() {
        return fileVideoList;
    }

    public void setFileVideoList(List<FileModel> fileVideoList) {
        this.fileVideoList = fileVideoList;
    }

    public Date getCheckTime()
    {
        return checkTime;
    }
    public void setCheckMark(String checkMark) 
    {
        this.checkMark = checkMark;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getCheckMark()
    {
        return checkMark;
    }
    public void setCheckImg(String checkImg) 
    {
        this.checkImg = checkImg;
    }

    public String getCheckImg() 
    {
        return checkImg;
    }
    public void setCheckVideo(String checkVideo) 
    {
        this.checkVideo = checkVideo;
    }

    public String getCheckVideo() 
    {
        return checkVideo;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid() 
    {
        return createUserid;
    }
    public void setUpdateUserid(Long updateUserid) 
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid() 
    {
        return updateUserid;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("checkTime", getCheckTime())
            .append("checkMark", getCheckMark())
            .append("checkImg", getCheckImg())
            .append("checkVideo", getCheckVideo())
            .append("createUserid", getCreateUserid())
            .append("updateUserid", getUpdateUserid())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
